package org.dydl.common.dto;

import java.io.Serializable;

public class ResponseMessage implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	private int status = 0;
	private String msg = "";
	private Boolean success = true;
	private Object data;

	public ResponseMessage() {
	}

	public ResponseMessage(Boolean success) {
		this.success = success;
	}

	public ResponseMessage(Boolean success, Object data) {
		this.success = success;
		this.data = data;
	}

	public ResponseMessage(Boolean success, int status, String msg) {
		this.success = success;
		this.status = status;
		this.msg = msg;
	}

	public ResponseMessage(Boolean success, int status, String msg, Object data) {
		this.success = success;
		this.status = status;
		this.msg = msg;
		this.data = data;
	}

	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}

	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}

	public Boolean getSuccess() {
		return success;
	}

	public void setSuccess(Boolean success) {
		this.success = success;
	}

	public Object getData() {
		return data;
	}

	public void setData(Object data) {
		this.data = data;
	}

}
